﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebTriple7.GoPlay.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/Css/style.css" />
    <script src="/triple7/jquery-1.js" type="text/javascript"></script>
    <script src="/triple7/jquery-ui-1.js" type="text/javascript"></script>    
    <script src="/Js/jquery-jtemplates.js" type="text/javascript"></script>
    <script src="/soundmanager/soundmanager2-jsmin.js" type="text/javascript"></script>
    <script src="/Js/JSON.js" type="text/javascript"></script>
    <script src="/Js/Loading.js" type="text/javascript"></script>
    <script src="/Js/common.js" type="text/javascript"></script>
    <script src="/Js/paging.js" type="text/javascript"></script>
    <script src="/Js/help.js" type="text/javascript"></script>
    <script src="ItemIn.js" type="text/javascript"></script>
    <script src="ItemOut.js" type="text/javascript"></script>
    <script type="text/javascript">
        pages_paymentIn_ItemIn.gateWayId = <%=(int)Config.Enum.GateWay.Ebank %>;
        pages_paymentIn_ItemOut.gateWayId = <%=(int)Config.Enum.GateWay.Ebank %>;
        var GoItemIn = {
            AmountIn: <%=Info.AmountIn %>,
            ReceiveAu: <%=Info.ReceiveAu %>,
            ReceiveAg: <%=Info.ReceiveAg %>
        };

        function loadReceive() {
            var money = $("#txtNumAmount").val();
            $("#spAuReceive").html(COMMON.formatMoney(COMMON.roundNumber(money * GoItemIn.ReceiveAu / GoItemIn.AmountIn,0)));
            $("#spAgReceive").html(COMMON.formatMoney(COMMON.roundNumber(money * GoItemIn.ReceiveAg / GoItemIn.AmountIn,0)));
        }
    </script>        
</head>
<body>
    
    <asp:Label runat="server" ID="ltrMess"></asp:Label>
    <div runat="server" id="divGame">
        <div class="lienket" onclick="$('#wModal_yesNo').wModal('show');">
        </div>
        <div class="page">
            <div class="bg_game">
                <div class="quay1">
                    <div class="quay_nut1">
                        <a href="javascript:void(0)" id="btnChoose_h1"></a>
                    </div>
                    <div class="quay_pay1">
                        <strong>THẮNG</strong>
                        <p id="txtReel_h1">
                            0</p>
                    </div>
                    <div class="quay_game">
                        <div class="quay_so">
                            <div class="quay_limit">
                                <div class="quay_show" id="reel1">
                                </div>
                            </div>
                        </div>
                        <div class="quay_mo">
                        </div>
                    </div>
                    <!--quay_game-->
                    <div class="quay_pay1">
                        <strong>THẮNG</strong>
                        <p id="txtReel_l1">
                            0</p>
                    </div>
                    <div class="quay_nut2">
                        <a href="javascript:void(0)" id="btnChoose_l1"></a>
                    </div>
                </div>
                <!--quay1-->
                <div class="quay2">
                    <div class="quay_nut1">
                        <a href="javascript:void(0)" id="btnChoose_h2"></a>
                    </div>
                    <div class="quay_pay1">
                        <strong>THẮNG</strong>
                        <p id="txtReel_h2">
                            0</p>
                    </div>
                    <div class="quay_game">
                        <div class="quay_so">
                            <div class="quay_limit">
                                <div class="quay_show" id="reel2">
                                </div>
                            </div>
                        </div>
                        <div class="quay_mo">
                        </div>
                    </div>
                    <!--quay_game-->
                    <div class="quay_pay1">
                        <strong>THẮNG</strong>
                        <p id="txtReel_l2">
                            0</p>
                    </div>
                    <div class="quay_nut2">
                        <a href="javascript:void(0)" id="btnChoose_l2"></a>
                    </div>
                </div>
                <!--quay2-->
                <div class="quay3">
                    <div class="quay_nut1">
                        <a href="javascript:void(0)" id="btnChoose_h3"></a>
                    </div>
                    <div class="quay_pay1">
                        <strong>THẮNG</strong>
                        <p id="txtReel_h3">
                            0</p>
                    </div>
                    <div class="quay_game">
                        <div class="quay_so">
                            <div class="quay_limit">
                                <div class="quay_show" id="reel3">
                                </div>
                            </div>
                        </div>
                        <div class="quay_mo">
                        </div>
                    </div>
                    <!--quay_game-->
                    <div class="quay_pay1">
                        <strong>THẮNG</strong>
                        <p id="txtReel_l3">
                            0</p>
                    </div>
                    <div class="quay_nut2">
                        <a href="javascript:void(0)" id="btnChoose_l3"></a>
                    </div>
                </div>
                <!--quay3-->
                <div id="soundOffButton"></div>
                <div class="jack">
                    NUÔI GÀ VÀNG 777 
                    <p class="size" id="spJackport">
                        0</p>                   
                </div>
                <!--jack-->
                <div class="text1"><p>Chọn Cao hoặc Thấp cho mỗi vòng quay</p>(được thêm 1 quyền trợ giúp cho 3 lần dự đoán đúng liên tiếp)</div>
                <!--text1-->
                <div class="text2">Sử dụng trợ giúp để tăng cơ hội dự đoán</div>
                <!--text2-->
                <div class="collect">
                    <div id="divCollect" style="position: relative">
                        <%--<div class="won_image">
                            CHIẾN THẮNG</div>
                        <div class="lose_image">
                            THUA</div>--%>
                        <a href="javascript:void(0)" id="btnCollect">THU VÀNG</a>
                        <p>
                            <span id="totalBids">0</span></p>
                    </div>
                </div>
                <div id="divBet">
                    <div class="nut_chinh1">
                        <a href="javascript:void(0)" id="spinButton"></a>
                    </div>
                    <div class="dat">
                        <ul>
                            <li><a href="javascript:void(0)" id="betSpinDown" class="dat_lui"></a></li>
                            <li>
                                <input type="text" id="txtBet" value="100" maxlength="4" onkeydown="return COMMON.validateDigitQuantity(event);" /></li>
                            <li><a href="javascript:void(0)" id="betSpinUp" class="dat_tien"></a></li>
                        </ul>
                    </div>

                </div>
                <div id="divShuffule" style="display: none">
                    <div class="nut_chinh2">
                        <a href="javascript:void(0)" id="btnShuffle"></a>
                    </div>
                    <div class="trogiup">
                        <p>
                            TRỢ GIÚP</p>
                        <ul id="shuffle_bar">
                            <li>
                                <img src="/images/tg_1.jpg" width="23" height="23" /></li>
                            <li>
                                <img src="/images/tg_1.jpg" width="23" height="23" /></li>
                            <li>
                                <img src="/images/tg_1.jpg" width="23" height="23" /></li>
                            <li>
                                <img src="/images/tg_2.jpg" width="23" height="23" /></li>
                            <li>
                                <img src="/images/tg_2.jpg" width="23" height="23" /></li>
                        </ul>
                        <div class="clear">
                        </div>
                    </div>
                </div>
                
                <div class="box_taikhoan">
                       
                            Xin chào: <%=DisplayName %> <br>
                        <button class="nut1" onclick="buyitem.showpopup(); return false;">Đổi</button>
                        Bạn có <span id="spTotalBlance"><%=Vcoin %></span>  Vcoin và <span id="spTotalAu"></span> vàng
                </div>
            </div>
            <div class="footer">
                <a href="javascript:void(0)" onclick="pages_help.showpopup()">Hướng dẫn</a> &nbsp; &nbsp; &nbsp; 
                <a href="#">Diễn đàn</a> &nbsp; &nbsp; &nbsp; 
                <a href="#">Tin tức</a>
            </div>
            <!--bg_game-->
            <div style="clear: both">
            </div>
            <script type="text/javascript">
                var maxBet = 10;
                var machine_name = 'default';
                var windowID = 0;
            </script>
                        
            <script type="text/javascript" src="/GoPlay/slots.js"></script>
            <script type="text/javascript">
                slotMachine.gateWayId=<%=(int)Config.Enum.GateWay.Ebank %>;
                slotMachine._init_old_session(<%=Newtonsoft.Json.JsonConvert.SerializeObject(OldSession) %>);
            </script>           
        </div>
        <!--page-->
        
    </div>   

</body>
</html>
